package com.huanong.it.xwweibo.authority.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName sys_user_role
 */
@TableName(value ="sys_user_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole  implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long roleId;

    private static final long serialVersionUID = 1L;
}
